//
//  NSString+Addition.h
//  BaDouXueBa
//
//  Created by ChEngZhi on 15/7/21.
//  Copyright (c) 2015年 BaiShiXing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Addition)

#pragma mark 判断该字符串是否满足密码要求    （密码由8~20位半角字符（数字、字母、符号），至少2种组成，区分大小写）
- (BOOL)isPasswordString;

#pragma mark 纯字符
- (BOOL)isAllSymbols;

#pragma mark 纯数字
- (BOOL)isAllNumbers;

#pragma mark 纯字母
- (BOOL)isAllLetters;

#pragma mark 判断该字符是否包含另一个字符串
- (BOOL)isIncludeString:(NSString *)otherString;

#pragma mark 判断单个字符是不是字母
- (BOOL) isLetter;

#pragma mark 检测是否为空，且可用
- (BOOL)isCanUsed;

#pragma mark 检测是否是邮箱号码
- (BOOL)isValidateEmail;

#pragma mark 根据当前的时间戳字符串获取一个日期字符串
- (NSString *)getDateString;

// 获取文件大小
- (long long)fileSize;
@end
